package com.hsgene.product.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.hsgene.common.util.qiniu.QiniuResourceSerializer;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品运营管理列表项Dto
 *
 * @author wangbing
 * @version 1.0, 2018/10/19
 */
public class GeneticTestingCommodityItemDto implements Serializable {

    private Integer number;

    /**
     * 逻辑主键id
     */
    private String id;

    /**
     * 商品id
     */
    private String packageId;

    /**
     * 商品图片
     */
    @JsonSerialize(using = QiniuResourceSerializer.class)
    private String commodityImagesUrl;

    /**
     * 商品名称
     */
    private String commodityName;

    /**
     * 商品类目id
     */
    private String commodityCategoryId;

    /**
     * 商品类目标签
     */
    private String commodityCategoryLabel;

    /**
     * 浏览次数
     */
    private Integer views;

    /**
     * 商品的真实购买数量
     */
    private Integer realPurchaseAmount;

    /**
     * 商品原始价格
     */
    private BigDecimal originPrice;

    /**
     * 状态（0-待补充  1-未使用  2-已使用）
     */
    private Integer status;

    /**
     * 商品创建时间
     */
    private Date createDateTime;

    /**
     * 更新时间
     */
    private Date updateDateTime;

    /**
     * 上架状态(0-下架  1-上架）
     */
    private Integer shelfStatus;

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPackageId() {
        return packageId;
    }

    public void setPackageId(String packageId) {
        this.packageId = packageId;
    }

    public String getCommodityImagesUrl() {
        return commodityImagesUrl;
    }

    public void setCommodityImagesUrl(String commodityImagesUrl) {
        this.commodityImagesUrl = commodityImagesUrl;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getCommodityCategoryId() {
        return commodityCategoryId;
    }

    public void setCommodityCategoryId(String commodityCategoryId) {
        this.commodityCategoryId = commodityCategoryId;
    }

    public String getCommodityCategoryLabel() {
        return commodityCategoryLabel;
    }

    public void setCommodityCategoryLabel(String commodityCategoryLabel) {
        this.commodityCategoryLabel = commodityCategoryLabel;
    }

    public Integer getViews() {
        return views;
    }

    public void setViews(Integer views) {
        this.views = views;
    }

    public Integer getRealPurchaseAmount() {
        return realPurchaseAmount;
    }

    public void setRealPurchaseAmount(Integer realPurchaseAmount) {
        this.realPurchaseAmount = realPurchaseAmount;
    }

    public BigDecimal getOriginPrice() {
        return originPrice;
    }

    public void setOriginPrice(BigDecimal originPrice) {
        this.originPrice = originPrice;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateDateTime() {
        return createDateTime;
    }

    public void setCreateDateTime(Date createDateTime) {
        this.createDateTime = createDateTime;
    }

    public Date getUpdateDateTime() {
        return updateDateTime;
    }

    public void setUpdateDateTime(Date updateDateTime) {
        this.updateDateTime = updateDateTime;
    }

    public Integer getShelfStatus() {
        return shelfStatus;
    }

    public void setShelfStatus(Integer shelfStatus) {
        this.shelfStatus = shelfStatus;
    }
}
